Getting Started with Metro Apps by Ben Dewey

Getting Started with Metro Apps by Ben Dewey

Author:Ben Dewey [Ben Dewey]
Language: eng
Format: epub, pdf
Tags: COMPUTERS / Programming / Microsoft Programming
ISBN: 9781449336523
Publisher: O'Reilly Media
Published: 2012-04-19T16:00:00+00:00


Notice that you are providing a name to the textbox so that it can be accessed from the code-behind later. In addition, you only need to supply the row and column assignments if they are not equal to 0. The textbox is defaulted to Grid.Row="0" and Grid.Column="0". On the button there is a Click event assignment to Search_Click, this maps to a method called Search_Click on the code-behind where the Bing search code will be written, see Example 2-3.

Example 2-3. Search event on the code-behind for handling the Bing web service call

private async void Search_Click(object sender, RoutedEventArgs e) { // Put webservice code here }



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.